package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.entity.MerchantBatchAndPay;
import com.ayf.payment.game.api.entity.MerchantPayOrder;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface MerchantBatchAndPayMapper extends Mapper<MerchantBatchAndPay> {

    /**
     * 批量添加
     *
     * @param batchNo
     * @param successList
     * @return
     */
    int batchAdd(@Param("batchNo") String batchNo, @Param("list") List<MerchantPayOrder> successList);
}